package com.ease.framework.gef4p.figures.edge {
   import com.ease.framework.figures.IFigure;

   import flash.geom.Point;

   /**
    * 这是一个Edge的锚点。当拖动锚点的时候，连接线会响应.
    */
   public interface IEdgeAnchor extends IFigure {

      //获取当前Anchor相对于Stage的显示位置.
      function getLocationStagePoint():Point;
      function setLocationStagePoint(point:Point):void;

      function getLocationType():String;
      function setLocationType(type:String):void;

      function getEdge():IEdgeFigure;
      function setEdge(edge:IEdgeFigure):void;

      function fireAnchorMoved():void;

      function registerListener(listener:IEdgeAnchorListener):void;

      function removeListener(listener:IEdgeAnchorListener):void;
   }
}